<?php
/**
 * @package                Joomla.Site
 * @subpackage	Templates.beez_20
 * @copyright        Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license                GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;
error_reporting(0);
$tmpl = JURI::base().'templates/giaphat/';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<!-- Le styles -->
<link href="<?php echo $tmpl;?>css/bootstrap.min.css" rel="stylesheet">
<link rel='stylesheet' id='camera-css'  href='<?php echo $tmpl;?>css/camera.css' type='text/css' media='all'>
<link rel="stylesheet" type="text/css" href="<?php echo $tmpl;?>css/tinyscrollbar.css"/>
<link href="<?php echo $tmpl;?>css/prettyPhoto.css" rel="stylesheet" type='text/css'>
<link href="<?php echo $tmpl;?>css/animate.css" rel="stylesheet" type='text/css'>
<link href="<?php echo $tmpl;?>css/style.css" rel="stylesheet" type='text/css'>

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="favicon.ico">
<script type="text/javascript" src="<?php echo $tmpl;?>js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $tmpl;?>js/jquery.carouFredSel-6.2.0-packed.js"></script>
<script type="text/javascript" src="<?php echo $tmpl;?>js/bootstrap.min.js"></script>
<script type='text/javascript' src='<?php echo $tmpl;?>js/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='<?php echo $tmpl;?>js/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='<?php echo $tmpl;?>js/camera.min.js'></script>
<script type="text/javascript" src="<?php echo $tmpl;?>js/tytabs.jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $tmpl;?>js/jquery.tinyscrollbar.js"></script>
<script type='text/javascript' src='<?php echo $tmpl;?>js/jquery.prettyPhoto.js'></script>
<script type='text/javascript' src='<?php echo $tmpl;?>js/init.js'></script>
<script type="text/javascript">
jQuery(document).ready( function(){
    jQuery('.item-121').append(jQuery('#add_menu').html());
	jQuery('.item-121 > a').append('<b class="caret"></b>');
});
</script>
</head>

<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=176427392509007&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<script type="text/javascript">
  window.___gcfg = {lang: 'vi'};

  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/platform.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>
<div class="navbar navbar-inverse">
  <div class="navbar-inner">
    <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="index.php">NGP</a>
      <ul class="menu_top">
        <li><a href="index.php?option=com_virtuemart&view=category&virtuemart_category_id=1&lang=vi">Gạch men</a></li>
        <li><a href="index.php?option=com_virtuemart&view=category&virtuemart_category_id=2&lang=vi">Đá granite</a></li>
        <li><a href="index.php?option=com_virtuemart&view=category&virtuemart_category_id=3&lang=vi">Thiết bị vệ sinh</a></li>
      </ul>
      <div class="hotline"> {module Hot line} </div>
    </div>
  </div>
  <div class="max_menu">
    <div class="nav-collapse clearfix">
      <div class="container">
      	{module Main menu}
        {module Menu category 1}
        <div class="frmSearch">
        	{module Search in Shop}
          <!--<input type="text" placeholder="Tìm kiếm sản phẩm ...">
          <a class="btnGo" href="#">Go</a> </div>-->
      	</div>
    </div>
    <!--/.nav-collapse --> 
  </div>
</div></div>
<?php if(JRequest::getVar('view') == 'featured'){?>
<section class="banner">
  <div class="fluid_container">
    <div class="camera_wrap camera_magenta_skin" id="camera_wrap_1">
    	{module Home banners}
    </div>
    <!-- #camera_wrap_2 --> 
  </div>
  <!-- .fluid_container --> 
</section>
<?php } else {?>
<jdoc:include type="component" />
<?php }?>
<?php if(JRequest::getVar('view') == 'featured'){?>
<footer>
<?php } else {?>
<footer class="footer2 clearfix">
<?php }?>
  <div class="conatiner">
    <p><strong>© 2014 <a href="index.php">NGPceramic</a> Co., Ltd.</strong> - <a class="c226ebb" href="index.php?option=com_content&view=article&id=12">Chính sách bảo mật</a></p>
    <p>A13-A14 KP3, Trảng Dài, Biên Hòa, Đồng Nai - Tel: +84 613 890 823 - Fax: +84 618 871 991 - {module Visit counter}</p>
  </div>
</footer>
</body>
</html>
